'''
Created on 30-Nov-2011

@author: raghu
'''

class TestClass(object):
    def __init__(self, initial_balance=0):
        self.balance = initial_balance
    def deposit(self, amount):
        self.balance += amount
    def withdraw(self, amount):
        self.balance -= amount
    def overdrawn(self):
        return self.balance < 0
    
class ClassA(): 
        my_account = TestClass(15)
        my_account.withdraw(5)
        my_account.deposit(80)
        print my_account.balance
            

